package cn.yj.syslog.mapper;


import cn.yj.common.baseDao.BaseMapper;
import cn.yj.syslog.entity.SysLog;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <br>
 *
 * @author 永健
 * @since 2020-12-17 18:30
 */
public interface SysLogMapper extends BaseMapper<SysLog>
{
    long countVisitByDate(Date date);

    int updateResult(@Param("result") String result,@Param("id") String id);

    long countVisitByDateRange(@Param("startTime") Date startDate,@Param("endTime") Date endDate);
}
